<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>求阶乘</title>
</head>
<body>
    <!-- 模拟面试之阶乘题 前端巅峰人才交流群私信我-->
    <!-- 求n得阶乘 递归-->
    <script>
        function geyao(N){
            return N=1?1:geyao(N-1)*N
        }
    </script>
</body>
</html>